package com.kanasco.vision.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

public class RequestController implements Controller {

	public RequestController() {
	
	}

	public ModelAndView handleRequest(HttpServletRequest req,
			HttpServletResponse res) throws Exception {
		String action=req.getParameter("action");
		System.out.println("Action from request cntrlr is"+action);
		System.out.println("Iam in Handle Request");
		String url="Child";
		
		return new ModelAndView(url,"action",action);
	}
}
